package io.renren.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-20 12:55:41
 */
@TableName("tb_user_peak")
public class UserPeakEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     *
     */
    @TableId
    private Integer id;




    /**
     * 评论人ID
     */
    private String userId;


    /**
     * 项目ID
     */
    private Integer campaignId;

    /**
     * 评论title
     */
    private Integer peakId;

    /**
     * price
     */
    private double price;


    @TableField(exist = false)
    private double totalPrice;






    /**
     * 创建时间
     */
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getCampaignId() {
        return campaignId;
    }

    public void setCampaignId(Integer campaignId) {
        this.campaignId = campaignId;
    }

    public Integer getPeakId() {
        return peakId;
    }

    public void setPeakId(Integer peakId) {
        this.peakId = peakId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }
}
